package com.snowfeel.sfmall.sys.vo;

import com.snowfeel.sfmall.security.vo.SecurityUserVo;

import java.io.Serializable;
import java.util.List;

/**
 * @author guomenghuai
 * @date 2024/9/8
 * @Description
 */
public class LoginUserVo implements Serializable {

    /**
     * 用户信息
     */
    private SecurityUserVo user;

    /**
     * 权限信息
     */
    private List<String> permissionList;

    public LoginUserVo(SecurityUserVo user, List<String> permissionList) {
        this.user = user;
        this.permissionList = permissionList;
    }

    public SecurityUserVo getUser() {
        return user;
    }

    public void setUser(SecurityUserVo user) {
        this.user = user;
    }

    public List<String> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<String> permissionList) {
        this.permissionList = permissionList;
    }
}
